package com.wy.authority.mapper;

import com.wy.authority.entity.Pro_cess;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 忘忧
 * @Date Created in 2021/1/29 17:23
 * @Description: 流程
 */
@Mapper
@Repository
public interface ProcessMapper {

    //查询所有
    List<Pro_cess> findall();

    //添加流程
    int insert(Process process);

    //修改流程
    int update(Process process);

    //删除流程
    int delete(int pro_id);

}
